import {
	execPost
} from '../utils/index.js'

// 获取页面配置
export const wx_paas_app_path = () => execPost('wx_paas_app_path')
// 注册手机号
export const wxma_login = (obj) => execPost('wxma_login', obj)
// 登出
export const wxma_logout = () => execPost('wxma_logout')
// 会员个人信息
export const wx_customer_data = () => execPost('wx_customer_data')
// 更新会员信息
export const wx_customer_upd = (obj) => execPost('wx_customer_upd', obj)
// 积分列表
export const wx_customer_points_list_hb = (obj) => execPost('wx_customer_points_list_hb', obj)

// ---手账模块接口---
// 话题列表
export const wx_talk_subject_list = () => execPost('wx_talk_subject_list')
// 发贴
export const wx_talk_subject_post_add = (obj) => execPost('wx_talk_subject_post_add', obj)
// 话题帖子列表
export const wx_talk_subject_post_list = (obj) => execPost('wx_talk_subject_post_list', obj)
// 帖子详情
export const wx_talk_subject_post_data = (obj) => execPost('wx_talk_subject_post_data', obj)
// 点赞
export const wx_talk_subject_post_like = (obj) => execPost('wx_talk_subject_post_like', obj)
// 收藏
export const wx_talk_subject_post_favorite = (obj) => execPost('wx_talk_subject_post_favorite', obj)
// 搜索历史
export const wx_search_keyword_list = () => execPost('wx_search_keyword_list')
// 清空搜索历史
export const wx_search_keyword_del = () => execPost('wx_search_keyword_del')
// 搜索
export const wx_search_keyword_data = (obj) => execPost('wx_search_keyword_data', obj)
// 当前会员发贴统计数据
export const wx_cus_subject_post_data = () => execPost('wx_cus_subject_post_data')
// 当前会员发贴列表  status:0 // 0：提交 5：已审核 6：审核失败
export const wx_cus_subject_post_list = (obj) => execPost('wx_cus_subject_post_list', obj)
// 帖子删除
export const wx_talk_subject_post_del = (obj) => execPost('wx_talk_subject_post_del', obj)
// 会员点赞列表
export const wx_cus_post_like_list = (obj) => execPost('wx_cus_post_like_list', obj)
// 会员收藏列表
export const wx_cus_post_favorite_list = (obj) => execPost('wx_cus_post_favorite_list', obj)

// ---打卡模块接口---
// 打卡规则
export const wx_clockin_rules_data = () => execPost('wx_clockin_rules_data')
// 关闭打卡
export const wx_clockin_rules_close = (obj) => execPost('wx_clockin_rules_close', obj)
// 会员打卡详情
export const wx_customer_clockin_data = (obj) => execPost('wx_customer_clockin_data', obj)
// 打卡商品列表
export const wx_product_list = () => execPost('wx_product_list')
// 开启打卡
export const wx_clockin_rules_start = (obj) => execPost('wx_clockin_rules_start', obj)
// 修改打卡设置
export const wx_clockin_update = (obj) => execPost('wx_clockin_update', obj)
// 打卡/补卡
export const wx_customer_clockin = (obj) => execPost('wx_customer_clockin', obj)
// 打卡记录
export const wx_clockin_log_list = (obj) => execPost('wx_clockin_log_list', obj)
// 手账埋点结束触发接口
export const wx_customer_clockin_renum = () => execPost('wx_customer_clockin_renum')

// ---问卷模块接口---
// 查询问卷
export const wx_questionnaire_list = (obj) => execPost('wx_questionnaire_list', obj)
// 调查问卷广告
export const wx_get_questionnaire_advertising = (obj) => execPost('wx_get_questionnaire_advertising', obj)
// 问卷提交
export const wx_questionnaire_submit = (obj) => execPost('wx_questionnaire_submit', obj)
// 调查问卷获取已答列表
export const wx_questionnaire_answered_list = (obj) => execPost('wx_questionnaire_answered_list', obj)
// 问卷归因
export const wx_questionnaire_ascribe = (obj) => execPost('wx_questionnaire_ascribe', obj)
// 查看问卷答案
export const wx_questionnaire_sel = (obj) => execPost('wx_questionnaire_sel', obj)

// ---分享---
// 预分享 生成链接
export const wx_customer_share_prefetch = (obj) => execPost('wx_customer_share_prefetch', obj)
// 分享成功调用
export const wx_customer_share_upd = (obj) => execPost('wx_customer_share_upd', obj)
// 分享点击调用
export const wx_customer_click_add = (obj) => execPost('wx_customer_click_add', obj)

// ---签到模块接口---
// 签到列表
export const wx_customer_signin_list = () => execPost('wx_customer_signin_list')
export const wx_customer_signin_submit = () => execPost('wx_customer_signin_submit')

// 邀请成功记录
export const wx_customer_recommend_list = () => execPost('wx_customer_recommend_list')
// 奖励列表
export const wx_reward_recommend_list = () => execPost('wx_reward_recommend_list')

// 任务完成
export const wx_customer_reward_list = () => execPost('wx_customer_reward_list')

// 太阳码
export const api_get_wxacode = (obj) => execPost('api_get_wxacode', obj)

// 模板订阅
export const wx_template_subscribe = (obj) => execPost('wx_template_subscribe', obj)

// 获取优惠券
export const wx_customer_coupons_yz = (obj) => execPost('wx_customer_coupons_yz', obj)

export const IMG_URL2 = ''
export const uploadImg = ''
export const images2 = ''